package exer;

/**
 * @title: BiTreeLink
 * @Author: wangzijun
 * @description:
 * @version: 1.0.0
 * @CreateTime: 2022-09-02  22:44
 */

enum pointerTag {Link,Thread};

public class Node {
    public char data;
    public Node lChild;
    public Node rChild;

    pointerTag rTag;
    pointerTag lTag;

    public Node() {
    }

    public Node(char data) {
        this.data = data;
    }

    public char getData() {
        return data;
    }

    public void setData(char data) {
        this.data = data;
    }

//    public Node getlChild() {
//        return lChild;
//    }
//
//    public void setlChild(Node lChild) {
//        this.lChild = lChild;
//    }
//
//    public Node getrChild() {
//        return rChild;
//    }
//
//    public void setrChild(Node rChild) {
//        this.rChild = rChild;
//    }
}
